package com.ha.service;

import com.ha.dto.GarbageDTO;
import com.ha.dto.GarbagePageDTO;
import com.ha.entity.Garbage;
import com.ha.result.PageResult;
import com.ha.vo.GarbageVO;
import com.ha.vo.UserGarbageVO;

import java.util.List;

/**
 * ClassName: GarbageService
 * Package: com.ha.service.impl
 * Description:
 *
 * @Author 那啥啥
 * @Create 2024/4/21  14:03
 * @Version 1.0
 */
public interface GarbageService {
    PageResult pageQuery(GarbagePageDTO garbagePageDTO);

    GarbageVO getById(Long id);

    void update(GarbageDTO garbageDTO);

    void deleteById(Long id);

    void addGarbage(GarbageDTO garbageDTO);

    List<UserGarbageVO> getByName(String name);

}
